from django.conf.urls import include, url
from .views import *
urlpatterns = [
    url(r'^info/$',UersInfoView.as_view(),name='users_info'),
    url(r'^image/upload/$',UploadImageView.as_view(),name='image_upload'),
    #个人中心里面修改密码
    url(r'^update/pwd/$', UpdatePwdView.as_view(), name='update_pwd'),
    #发送修改邮箱验证码
    url(r'^send_email/$', SendModifyEmailCode.as_view(), name='send_email'),
    url(r'^update_email/$', UpdateEmailView.as_view(), name='update_email'),
    url(r'^mycourse/$', MyCourseView.as_view(), name='mycourse'),
    url(r'^myfav/org/$', MyFavOrgView.as_view(), name='myfav_org'),
    url(r'^myfav/teacher/$', MyFavTeacherView.as_view(), name='myfav_teacher'),
    url(r'^myfav/course/$', MyFavCourseView.as_view(), name='myfav_course'),
    url(r'^mymessage/$', MyMessageView.as_view(), name='mymessage'),

]
